require(["core", "jQuery", "coAjax", "queryString", "href", "hash_routie"], function(jSouper, $, coAjax, QueryString, href, hash_routie) {
	hash_routie.on("sendmail", function() {
		coAjax.get(appConfig.bus.sendmsg_user_list, function(result) {
			App.set("$Cache.bus.sendmail.user.list", result.result);
		});
	});
	App.set("$Event.bus.sendmail.send", function() {
		coAjax.post(appConfig.bus.sendmsg_send_mail, App.get("$Cache.bus.sendmail.newmail"), function(result) {
			alert("success", result.result);
		});
	});
});